
package org.openeai.lite.esb.components;

import org.apache.log4j.Logger;
import org.openeai.lite.common.util.Constants;


/**
 * TODO type description.
 * 
 */
public class QueueOutLogComponent
{
    private Logger log = Logger.getLogger(QueueOutLogComponent.class);

    /**
     * Write the message payload to logger.
     * 
     * @param payload : message payload
     * @return Object : same message payload
     */
    public Object log(String payload)
    {
        log.info("[" + Constants.MQ_UNITY_OUT_QUEUE + "] " + payload);

        return payload;
    }

}
